#pragma once
#include "vector3.h"
#include "IShape.h"
#include "vector4.h"
#include  <vector>

namespace RayTrace{
class CLight
{
public:
	CLight(void);
	~CLight(void);
	virtual vector4 CalColor(const vector3& eye,const vector3& pos,const vector3& normal,const CMaterial & mat)=0;
protected:
	vector3 m_position;
public:
	virtual vector3 GetPos(){return m_position;}
	virtual void   SetPos(vector3 p){m_position=p;}
};
}